package com.my12306.train.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.my12306.common.util.response.ResponseData;
import com.my12306.train.model.entity.CariageMarshallingRelationEntity;
import com.my12306.train.model.vo.CarriageMarshallingRelationVo;

import java.util.List;

/**
 * 编组与车厢的关联表
 *
 * @author ËÕÄÁÏ¦
 * @email
 * @date 2020-07-24 20:58:07
 */
public interface CariageMarshallingRelationService extends IService<CariageMarshallingRelationEntity> {
    Long saveCarriageMarshallingRelation(CarriageMarshallingRelationVo carriageMarshallingRelationVo);
    void updateCarriageMarshallingRelation(CarriageMarshallingRelationVo CarriageMarshallingRelationVo);
    /**
     * 批量删除编组
     *
     * @param ids
     * @return
     */
    ResponseData deleteMarshallingBatchByIds(List<Long> ids);
}

